﻿<%@ Page Title="" Language="C#" MasterPageFile="~/OpenLeuven_Portal.Master" AutoEventWireup="true" CodeBehind="Registratie.aspx.cs" Inherits="OpenLeuvenPortaal.Registratie" %>



<%@ Register assembly="Arcabase.EID.SDK" namespace="Arcabase.EID.SDK.Web" tagprefix="cc1" %>



<%--<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>--%>
<asp:Content ID="Content2" ContentPlaceHolderID="Main" runat="server">
    
    &nbsp;<asp:Label ID="Label1" runat="server" Text="Registreer"></asp:Label>
            &nbsp;<br />
    (<asp:HyperLink ID="HyperLink1" runat="server" 
                NavigateUrl="~/Views/StartPagina/registerbedrijf.aspx">Klik hier als u een bedrijf wilt registreren</asp:HyperLink>)
    <br />
    
    <hr />
    Geef aan welke type gebruiker u bent:
    <asp:PlaceHolder ID="PlaceHolder1" runat="server" >
    <asp:RequiredFieldValidator ID="UserTypeValidator" runat="server" ErrorMessage="Gelieve een type gebruiker te kiezen" ForeColor="Red" ValidationGroup="submitcontrol" ControlToValidate="RadioButtonList1"></asp:RequiredFieldValidator>
    </asp:PlaceHolder>
    <br />

    <asp:RadioButtonList ID="RadioButtonList1" runat="server">
    <asp:ListItem Text="Particulier" Value="1" ></asp:ListItem>
    <asp:ListItem Text="Ontwikkelaar" Value="2" ></asp:ListItem>
    </asp:RadioButtonList>
    <br />
    Vul mijn gegevens in met E-ID<br />
    <cc1:EID_Read ID="EID_Read1" runat="server" Visible="false"/> <br />
    <asp:Literal ID="ltName" runat="server" /> <br />
    <asp:Button ID="bt_ReadeID" runat="server" Text="Lees E-ID" 
        onclick="bt_ReadeID_Click" />
    <br />
    <hr />


    <asp:Table runat="server" CellPadding="2" BorderStyle="None" GridLines="None" >
    <asp:TableRow>
    <asp:TableCell Width="250">
    <asp:Label ID="Label2" runat="server" Text="Naam: " ></asp:Label>
    </asp:TableCell>
    <asp:TableCell Width="200">
    <asp:TextBox ID="NaamTxt" runat="server" Width="150px" ></asp:TextBox>
    </asp:TableCell>
    <asp:TableCell>
    <asp:RequiredFieldValidator
        ID="RequiredFieldValidator1" runat="server" ErrorMessage="Naam moet ingevuld zijn !" ControlToValidate="NaamTxt" ValidationGroup="submitcontrol"></asp:RequiredFieldValidator>
    </asp:TableCell>
    </asp:TableRow>

    <asp:TableRow>
    <asp:TableCell Width="250">
    <asp:Label ID="Label3" runat="server" Text="Voornaam: "></asp:Label>
    </asp:TableCell>
    <asp:TableCell Width="200">
    <asp:TextBox ID="VoornaamTxt" runat="server" Width="150px"></asp:TextBox>
    </asp:TableCell>
    <asp:TableCell>
    <asp:RequiredFieldValidator
        ID="RequiredFieldValidator2" runat="server" ErrorMessage="Voornaam moet ingevuld zijn !" ControlToValidate="VoornaamTxt" ValidationGroup="submitcontrol"></asp:RequiredFieldValidator>
    </asp:TableCell>
    </asp:TableRow>


    <asp:TableRow>
    <asp:TableCell Width="250">
    <asp:Label ID="Label4" runat="server" Text="Adres: "></asp:Label>
    </asp:TableCell>
    <asp:TableCell Width="200">
    <asp:TextBox ID="AdresTxt" runat="server" Width="150px"></asp:TextBox>
    </asp:TableCell>
    <asp:TableCell>
    <asp:RequiredFieldValidator
        ID="RequiredFieldValidator3" runat="server" ErrorMessage="Adres moet ingevuld zijn !" ControlToValidate="AdresTxt" ValidationGroup="submitcontrol"></asp:RequiredFieldValidator>
    </asp:TableCell>
    </asp:TableRow>


        <asp:TableRow>
    <asp:TableCell Width="250">
    <asp:Label ID="Label5" runat="server" Text="Postcode: "></asp:Label>
    </asp:TableCell>
    <asp:TableCell Width="200">
    <asp:TextBox ID="PostcodeTxt" runat="server" Width="50px" MaxLength="4"></asp:TextBox>
    </asp:TableCell>
    <asp:TableCell>
    <asp:RequiredFieldValidator
        ID="RequiredFieldValidator4" runat="server" ErrorMessage="Postcode moet ingevuld zijn !" ControlToValidate="PostcodeTxt" ValidationGroup="submitcontrol"></asp:RequiredFieldValidator>
    </asp:TableCell>
    </asp:TableRow>


        <asp:TableRow>
    <asp:TableCell Width="250">
    <asp:Label ID="Label6" runat="server" Text="Woonplaats: "></asp:Label>
    </asp:TableCell>
    <asp:TableCell Width="200">
    <asp:TextBox ID="WoonplaatsTxt" runat="server" Width="150px"></asp:TextBox>
    </asp:TableCell>
    <asp:TableCell>
    <asp:RequiredFieldValidator
        ID="RequiredFieldValidator5" runat="server" ErrorMessage="Woonplaats moet ingevuld zijn !" ControlToValidate="WoonplaatsTxt" ValidationGroup="submitcontrol"></asp:RequiredFieldValidator>
    </asp:TableCell>
    </asp:TableRow>


        <asp:TableRow>
    <asp:TableCell Width="250">
    <asp:Label ID="Label7" runat="server" Text="Email: "></asp:Label>
    </asp:TableCell>
    <asp:TableCell Width="200">
    <asp:TextBox ID="EmailTxt" runat="server" Width="150px"></asp:TextBox>
    </asp:TableCell>
    <asp:TableCell>
    <asp:RequiredFieldValidator
        ID="RequiredFieldValidator6" runat="server" ErrorMessage="Email moet ingevuld zijn !" ControlToValidate="EmailTxt" ValidationGroup="submitcontrol"></asp:RequiredFieldValidator>
    </asp:TableCell>
    </asp:TableRow>


        <asp:TableRow>
    <asp:TableCell Width="250">
    <asp:Label ID="Label8" runat="server" Text="Gebruikersnaam: "></asp:Label>
    </asp:TableCell>
    <asp:TableCell Width="200">
    <asp:TextBox ID="GebruikersnaamTxt" runat="server" Width="150px"></asp:TextBox>
    </asp:TableCell>
    <asp:TableCell>
    <asp:RequiredFieldValidator
        ID="RequiredFieldValidator7" runat="server" ErrorMessage="Gebruikersnaam moet ingevuld zijn!" ControlToValidate="GebruikersnaamTxt" ValidationGroup="submitcontrol"></asp:RequiredFieldValidator>
    </asp:TableCell>
    </asp:TableRow>



        <asp:TableRow>
    <asp:TableCell Width="250">
    <asp:Label ID="Label9" runat="server" Text="Wachtwoord: "></asp:Label>
    </asp:TableCell>
    <asp:TableCell Width="200">
    <asp:TextBox ID="wwtxt" runat="server" TextMode="Password"></asp:TextBox>
    </asp:TableCell>
    <asp:TableCell>
    <asp:RequiredFieldValidator
        ID="RequiredFieldValidator8" runat="server" ErrorMessage="Wachtwoord moet ingevuld zijn!" ControlToValidate="wwtxt" ValidationGroup="submitcontrol"></asp:RequiredFieldValidator>
    </asp:TableCell>
    </asp:TableRow>


        <asp:TableRow>
    <asp:TableCell Width="250">
    <asp:Label ID="Label10" runat="server" Text="Herhaal wachtwoord:" ></asp:Label>
    </asp:TableCell>
    <asp:TableCell Width="200">
     <asp:TextBox ID="hww" runat="server" Width="150px" TextMode="Password" ></asp:TextBox>
    </asp:TableCell>
    <asp:TableCell>
    <asp:CompareValidator
        ID="CompareValidator1" runat="server" ErrorMessage="Wachtwoorden komen niet overeen" ControlToCompare="wwtxt" ControlToValidate="hww" ValidationGroup="submitcontrol"></asp:CompareValidator>
    </asp:TableCell>
    </asp:TableRow>

    
    </asp:Table>

     <br />

     <div  style="margin-left:300px; width:250px;" >
     <asp:Button ID="Submitbtn" runat="server" Text="Gereed" Width="100"
        onclick="Submitbtn_Click" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     <asp:Button ID="ClearBtn" runat="server" Text="Clear" Width="100"/>
     </div>
    <br />


    

</asp:Content>


